emacs.git
8 years agoAdjust debian/changelog for UNRELEASED 25.2+1-1 development
Rob Browning [Sat, 1 Jul 2017 19:30:28 +0000 (14:30 -0500)]
Adjust debian/changelog for UNRELEASED 25.2+1-1 development

8 years agoUpdate debian/changelog for 25.1+1-4 release
Rob Browning [Sun, 23 Apr 2017 16:50:24 +0000 (11:50 -0500)]
Update debian/changelog for 25.1+1-4 release

8 years agoDon't offer/use openssl s_client by default
Rob Browning [Sun, 23 Apr 2017 16:24:54 +0000 (11:24 -0500)]
Don't offer/use openssl s_client by default

"s_client is a debug tool, it does not set up a secure connection, it
ignores all errors and just continues.  It also doesn't do checks it
should be doing.  This is all documented behaviour." -- Kurt Roeckx

Add 0009-openssl-s_client-is-no-longer-a-default-for-ssl-conn.patch to
fix the problem.  Thanks to Kurt Roeckx for reporting the issue.

Closes: 766397
8 years agoopenssl s_client is no longer a default for ssl connections
Rob Browning [Sat, 22 Apr 2017 17:02:00 +0000 (12:02 -0500)]
openssl s_client is no longer a default for ssl connections

"s_client is a debug tool, it does not set up a secure connection, it
ignores all errors and just continues.  It also doesn't do checks it
should be doing.  This is all documented behaviour." -- Kurt Roeckx

Bug-Debian: https://bugs.debian.org/766397

8 years agoAdjust debian/changelog for UNRELEASED 25.1+1-4 development
Rob Browning [Sun, 23 Apr 2017 16:20:11 +0000 (11:20 -0500)]
Adjust debian/changelog for UNRELEASED 25.1+1-4 development

9 years agoUpdate debian/changelog for 25.1+1-3 release
Rob Browning [Thu, 1 Dec 2016 00:17:08 +0000 (18:17 -0600)]
Update debian/changelog for 25.1+1-3 release

9 years agoDepend on liboss4-salsa-dev on hurd and kfreebsd
Rob Browning [Thu, 1 Dec 2016 00:09:37 +0000 (18:09 -0600)]
Depend on liboss4-salsa-dev on hurd and kfreebsd

Thanks to Aaron M. Ucko for reporting the problem and Svante Signell for
providing the fix.

Closes: 840702
9 years agoDisable xwidget (webkit) support.
Rob Browning [Thu, 1 Dec 2016 00:05:10 +0000 (18:05 -0600)]
Disable xwidget (webkit) support.

Thanks to David Bremner for reporting the issue.

Closes: 843462
9 years agoConfigure with REL_ALLOC=no to fix crashes
Rob Browning [Wed, 30 Nov 2016 23:53:59 +0000 (17:53 -0600)]
Configure with REL_ALLOC=no to fix crashes

Thanks to Santiago Vila for reporting the problem, and Sean Whitton for
helping test the fix.

Closes: 842728
9 years agoAdjust debian/changelog for UNRELEASED 2.0.13+1-3 development
Rob Browning [Sat, 26 Nov 2016 18:27:42 +0000 (12:27 -0600)]
Adjust debian/changelog for UNRELEASED 2.0.13+1-3 development

9 years agoUpdate debian/changelog for 25.1+1-2 release
Rob Browning [Mon, 24 Oct 2016 18:14:52 +0000 (13:14 -0500)]
Update debian/changelog for 25.1+1-2 release

9 years agoDon't segfault if gcc expects -nopie instead of -no-pie
Rob Browning [Mon, 24 Oct 2016 18:05:01 +0000 (13:05 -0500)]
Don't segfault if gcc expects -nopie instead of -no-pie

Thanks to Lucas Nussbaum and Aaron M. Ucko for reporting the problem,
and Sven Joachim for tracking down the upstream patch.

Closes: 841551
9 years agoEmacs shouldn't segfault when gcc expects -nopie
Paul Eggert [Sun, 16 Oct 2016 23:25:47 +0000 (16:25 -0700)]
Emacs shouldn't segfault when gcc expects -nopie

This upstream patch has been added:

  Port to Ubuntu 16.10, which needs gcc -nopie

  * configure.ac (emacs_cv_prog_cc_no_pie): Rename from
  emacs_cv_prog_cc_nopie.  All usages changed.  Check for -no-pie in
  preference to -nopie (Bug#24682).  Backport from master.

Origin: upstream, commit: 99892eeec8990884ef38601f14038ec6dc227741
Bug: https://debbugs.gnu.org/24682
Bug-Debian: https://bugs.debian.org/841551

9 years agoAdd gnupg-agent build-dep for package-test
Rob Browning [Sat, 15 Oct 2016 17:53:58 +0000 (12:53 -0500)]
Add gnupg-agent build-dep for package-test

9 years agoFix fix for package-test gpg-agent cleanup race
Rob Browning [Mon, 24 Oct 2016 17:42:09 +0000 (12:42 -0500)]
Fix fix for package-test gpg-agent cleanup race

Specify --no-autostart so that we don't start an agent if one wasn't
already running when we're requesting shutdown, and delete the test dir
with "rm -rf" to avoid being affected by vanishing sockets (sockets that
gpg-agent may be deleting in parallel).

9 years agoKill gpg agent in package-test.el to avoid a race
Rob Browning [Mon, 10 Oct 2016 22:35:56 +0000 (17:35 -0500)]
Kill gpg agent in package-test.el to avoid a race

package-test.el should no longer fail during clean up.

* Previously a delete-directories call raced with the gpg agent's own
  cleanup process (presumably triggered by the first deletion of one of
  the agent's sockets).  As a result, it looks like the agent might
  delete one of its sockets after delete-directories had decided to
  delete the socket, but before it made the attempt, causing an
  exception.

* To fix the problem, explicitly ask gpg-connect-agent to kill the agent
  before attempting to delete the gnupg home directory, and then delete
  via "rm -rf" to ignore any vanishing files.

9 years agoDrop emacs23 icons to avoid future path conflicts
Rob Browning [Mon, 24 Oct 2016 17:02:46 +0000 (12:02 -0500)]
Drop emacs23 icons to avoid future path conflicts

Thanks to Tatsuya Kinoshita for reporting the problem.

Closes: 841687
9 years agoInstall emacs.appdata.xml as emacs25.appdata.xml
Rob Browning [Mon, 24 Oct 2016 16:06:22 +0000 (11:06 -0500)]
Install emacs.appdata.xml as emacs25.appdata.xml

9 years agoDon't dh_auto_clean, and run dh_clean first
Rob Browning [Sun, 23 Oct 2016 15:39:57 +0000 (10:39 -0500)]
Don't dh_auto_clean, and run dh_clean first

Since we don't build in the source tree, we shouldn't clean there
either, and let dh_clean take care of its bits before we stomp around.

9 years agoRespect DEB_BUILD_OPTIONS=nocheck
Rob Browning [Sun, 16 Oct 2016 17:43:06 +0000 (12:43 -0500)]
Respect DEB_BUILD_OPTIONS=nocheck

Thanks to David Bremner for reporting the issue.

9 years agoAdjust debian/changelog for UNRELEASED 25.1+1-2 development
Rob Browning [Sun, 23 Oct 2016 15:49:26 +0000 (10:49 -0500)]
Adjust debian/changelog for UNRELEASED 25.1+1-2 development

9 years agoUpdate debian/changelog for 25.1+1-1 release
Rob Browning [Tue, 11 Oct 2016 02:56:21 +0000 (21:56 -0500)]
Update debian/changelog for 25.1+1-1 release

9 years agoKill gpg agent in package-test.el to avoid a race
Rob Browning [Mon, 10 Oct 2016 19:54:16 +0000 (14:54 -0500)]
Kill gpg agent in package-test.el to avoid a race

Add 0007-Kill-gpg-agent-in-package-test.el-to-avoid-a-race.patch
to incorporate the fix.

9 years agoKill gpg agent in package-test.el to avoid a race
Rob Browning [Mon, 10 Oct 2016 22:35:56 +0000 (17:35 -0500)]
Kill gpg agent in package-test.el to avoid a race

package-test.el should no longer fail during clean up.

* Previously a delete-directories call raced with the gpg agent's own
  cleanup process (presumably triggered by the first deletion of one of
  the agent's sockets).  As a result, it looks like the agent could
  delete one of its sockets after delete-directories had decided to
  delete the socket, but before it made the attempt, causing an
  exception.

* To fix the problem, explicitly ask gpg-connect-agent to kill the agent
  before attempting to delete the gnupg home directory.

9 years agoAdd dbus-x11 and procps build-deps for tests
Rob Browning [Mon, 3 Oct 2016 04:48:09 +0000 (23:48 -0500)]
Add dbus-x11 and procps build-deps for tests

9 years agoConvert debian/copyright to 1.0; update for 25.1
Rob Browning [Sun, 2 Oct 2016 21:54:43 +0000 (16:54 -0500)]
Convert debian/copyright to 1.0; update for 25.1

Explicitly mention the unusual debian/rules copyright, which will be
addressed via #826347.

9 years agoEnable xwidget (webkit) support for emacs25
Rob Browning [Sun, 2 Oct 2016 20:13:35 +0000 (15:13 -0500)]
Enable xwidget (webkit) support for emacs25

9 years agoRun tests in all three debian/ build trees
Rob Browning [Sun, 2 Oct 2016 20:12:32 +0000 (15:12 -0500)]
Run tests in all three debian/ build trees

9 years agoDon't default to ALSA support; explicitly request it
Rob Browning [Sun, 2 Oct 2016 18:09:41 +0000 (13:09 -0500)]
Don't default to ALSA support; explicitly request it

9 years agodebian/setup-stamp: remove redundant mkdir
Rob Browning [Sun, 2 Oct 2016 18:07:54 +0000 (13:07 -0500)]
debian/setup-stamp: remove redundant mkdir

9 years agoSet libmagick build-dep to libmagick++-6.q16-dev
Rob Browning [Sun, 2 Oct 2016 18:06:19 +0000 (13:06 -0500)]
Set libmagick build-dep to libmagick++-6.q16-dev

9 years agoFix dh_listpackages in strip-nondeterminism target
Rob Browning [Sun, 2 Oct 2016 18:02:00 +0000 (13:02 -0500)]
Fix dh_listpackages in strip-nondeterminism target

9 years agoCompute version in strip-nondeterminism fix
Rob Browning [Sun, 2 Oct 2016 17:52:02 +0000 (12:52 -0500)]
Compute version in strip-nondeterminism fix

Use $(runtime_ver) and $(flavor) instead of 24.5 and emacs24.

9 years agoRemove ia64 CFLAGS "-O1" workaround
Rob Browning [Sun, 2 Oct 2016 17:55:53 +0000 (12:55 -0500)]
Remove ia64 CFLAGS "-O1" workaround

9 years agoBump Debian alternatives priority to 28 for 25.1
Rob Browning [Sun, 2 Oct 2016 17:47:58 +0000 (12:47 -0500)]
Bump Debian alternatives priority to 28 for 25.1

9 years agoDon't copy missing-file.dfsg to THE-GNU-PROJECT
Rob Browning [Sun, 2 Oct 2016 17:44:54 +0000 (12:44 -0500)]
Don't copy missing-file.dfsg to THE-GNU-PROJECT

THE-GNU-PROJECT is now compatible with the DFSG.  Remove
missing-file.dfsg entirely since it it no longer being used.

9 years agodebian/rules: clean additional files for 25.1
Rob Browning [Sun, 2 Oct 2016 17:40:41 +0000 (12:40 -0500)]
debian/rules: clean additional files for 25.1

9 years agoStop mangling info files
Rob Browning [Sun, 2 Oct 2016 17:36:01 +0000 (12:36 -0500)]
Stop mangling info files

9 years agoUpdate debian control and copyright for 25.1
Rob Browning [Sun, 2 Oct 2016 17:33:42 +0000 (12:33 -0500)]
Update debian control and copyright for 25.1

9 years agodebian/copyright.in: change source archive extension to xz
Rob Browning [Sun, 2 Oct 2016 17:32:30 +0000 (12:32 -0500)]
debian/copyright.in: change source archive extension to xz

9 years agodebian/changelog: change the package name to emacs25
Rob Browning [Sun, 2 Oct 2016 17:26:47 +0000 (12:26 -0500)]
debian/changelog: change the package name to emacs25

9 years agodebian/.gitignore: update for 25.1
Rob Browning [Sun, 2 Oct 2016 17:16:59 +0000 (12:16 -0500)]
debian/.gitignore: update for 25.1

9 years agodebian/upstream-version: update regex for 25.1
Rob Browning [Sun, 2 Oct 2016 17:15:33 +0000 (12:15 -0500)]
debian/upstream-version: update regex for 25.1

9 years agoMerge upstream version 25.1
Rob Browning [Sun, 2 Oct 2016 17:06:36 +0000 (12:06 -0500)]
Merge upstream version 25.1

Remove patches that are no longer needed:
  0006-Look-for-NEWS-in-order-to-find-etc-rather-than-GNU.patch
  0008-Emacs-won-t-assume-grep-supports-GREP_OPTIONS.patch
  0009-Emacs-should-no-longer-hang-during-large-yanks.patch
  0010-ELF-unexec-Correct-section-header-index.patch
  0011-ELF-unexec-Tidy-code.patch
  0012-ELF-unexec-Merge-Alpha-and-MIPS-COFF-debug-handling.patch
  0013-ELF-unexec-Symbol-table-patching.patch
  0014-ELF-unexec-_OBJC_-symbols-in-bss-sections.patch
  0015-ELF-unexec-R_-_NONE-relocs.patch
  0016-ELF-unexec-Drive-from-PT_LOAD-header-rather-than-sec.patch
  0017-ELF-unexec-Don-t-insert-a-new-section.patch
  0018-src-unexelf.c-NEW_PROGRAM_H-Remove-unused-macro-Bug-.patch
  0019-ELF-unexec-align-section-header.patch
  0020-Emacs-should-show-GTK-icons-again.patch
  0021-Emacs-should-work-with-gcc-5.2-and-newer.patch
  0022-Emacs-should-work-with-glibc-2.24-on-ppc64.patch

9 years agoDon't try to build src/macuvs.h (via IVD_Sequences.txt)
Rob Browning [Wed, 22 Oct 2014 00:10:17 +0000 (19:10 -0500)]
Don't try to build src/macuvs.h (via IVD_Sequences.txt)

These are OS X specific, and were removed for now, due to uncertainty
over the licensing.

9 years agoModify the output of (version) to indicate Debian modifications
Rob Browning [Tue, 5 Apr 2011 03:46:28 +0000 (22:46 -0500)]
Modify the output of (version) to indicate Debian modifications

The output of (version) has been modified to indicate Debian modifications.

Author: Rob Browning <rlb@defaultvalue.org>
Added-by: Rob Browning <rlb@defaultvalue.org>
9 years agoAdjust documentation references for Debian
Rob Browning [Tue, 5 Apr 2011 03:46:25 +0000 (22:46 -0500)]
Adjust documentation references for Debian

Various documentation references have been adjusted for Debian.

References to /usr/local/... have been changed to /usr/... as
appropriate, etc.

9 years agoRemove files that appear to be incompatible with the DFSG
Rob Browning [Tue, 5 Apr 2011 03:46:24 +0000 (22:46 -0500)]
Remove files that appear to be incompatible with the DFSG

Files that appear to be incompatible with the DFSG have been removed.

A number of files have been removed from this package because their
licenses are not compatible with the Debian Free Software Guidelines
(DFSG), or because it wasn't completely clear that their licenses are
compatible.

In particular, all of the files which are covered under the GFDL and
have invariant sections have been removed in accordance with this
General Resolution: http://www.debian.org/vote/2006/vote_001.

The files that have been removed, but still appear to be
distributable, have been moved to packages in Debian's non-free
section.

Author: Rob Browning <rlb@defaultvalue.org>
Added-by: Rob Browning <rlb@defaultvalue.org>
Status: new

9 years agoRun debian-startup and set debian-emacs-flavor
Rob Browning [Tue, 5 Apr 2011 03:46:22 +0000 (22:46 -0500)]
Run debian-startup and set debian-emacs-flavor

Emacs runs debian-startup and sets debian-emacs-flavor.

* Emacs runs debian-startup during the startup process unless
  site-run-file is false.

* The global variable debian-emacs-flavor is bound to 'emacs25.

Author: Rob Browning <rlb@defaultvalue.org>

9 years agoPrefer /usr/share/info/emacs-MAJORVERSION
Rob Browning [Sun, 7 Apr 2013 20:03:05 +0000 (15:03 -0500)]
Prefer /usr/share/info/emacs-MAJORVERSION

Emacs prefers /usr/share/info/emacs-MAJORVERSION to /usr/share/info.

The value of Info-default-directory-list has been augmented via
lisp/info.el to include /usr/share/info/emacs-MAJORVERSION before
/usr/share/info.

9 years agorecord new upstream branch
Rob Browning [Mon, 26 Sep 2016 22:21:52 +0000 (17:21 -0500)]
record new upstream branch

9 years agoMerge tag 'emacs-25.1' into deb/emacs25/d/sid/upstream
Rob Browning [Mon, 26 Sep 2016 21:13:06 +0000 (16:13 -0500)]
Merge tag 'emacs-25.1' into deb/emacs25/d/sid/upstream

9 years agoAdjust debian/changelog for UNRELEASED 25.1+1-1 development
Rob Browning [Mon, 26 Sep 2016 18:23:24 +0000 (13:23 -0500)]
Adjust debian/changelog for UNRELEASED 25.1+1-1 development

9 years ago; Update ChangeLog.2 and ldef-boot.el for Emacs 25.1 release
Nicolas Petton [Thu, 15 Sep 2016 21:30:09 +0000 (23:30 +0200)]
; Update ChangeLog.2 and ldef-boot.el for Emacs 25.1 release

9 years ago* etc/AUTHORS: Regenerate the AUTHORS file
Nicolas Petton [Thu, 15 Sep 2016 21:08:14 +0000 (23:08 +0200)]
* etc/AUTHORS: Regenerate the AUTHORS file

9 years agoUpdate admin/authors.el
Eli Zaretskii [Thu, 15 Sep 2016 19:21:19 +0000 (22:21 +0300)]
Update admin/authors.el

* admin/authors.el (authors-fixed-entries): Add an entry for Bob
Weiner.

9 years agoUpdate Antinews in ELisp manual
Eli Zaretskii [Wed, 14 Sep 2016 14:20:24 +0000 (17:20 +0300)]
Update Antinews in ELisp manual

* doc/lispref/anti.texi (Antinews): Update for Emacs 25.1.
* doc/lispref/elisp.texi (Top): Update the main menu entry for
Antinews.

9 years agoFix comments on window height macros
Noam Postavsky [Sun, 11 Sep 2016 20:25:13 +0000 (16:25 -0400)]
Fix comments on window height macros

* src/window.h (WINDOW_MODE_LINE_HEIGHT, WINDOW_HEADER_LINE_HEIGHT): Fix
confusing claim that "height is in pixels and in lines"; in fact it's in
pixels.

9 years agoFix 'url-http-create-request' when cookies are used
Toke Høiland-Jørgensen [Sat, 10 Sep 2016 19:09:33 +0000 (22:09 +0300)]
Fix 'url-http-create-request' when cookies are used

* lisp/url/url-http.el (url-http-create-request): Make sure the
cookie headers are a unibyte string.  For the details, see
http://lists.gnu.org/archive/html/emacs-devel/2016-09/msg00202.html.

Copyright-paperwork-exempt: yes

9 years agoFix cross reference in frames.texi
Martin Rudalics [Thu, 8 Sep 2016 08:56:17 +0000 (10:56 +0200)]
Fix cross reference in frames.texi

* doc/lispref/frames.texi (Minibuffers and Frames): Fix cross
reference.

9 years ago; * etc/DEBUG: Minor copyedits.
Eli Zaretskii [Wed, 7 Sep 2016 17:37:31 +0000 (20:37 +0300)]
; * etc/DEBUG: Minor copyedits.

9 years agoUpdate debian/changelog for 24.5+1-7 release
Rob Browning [Mon, 5 Sep 2016 20:06:52 +0000 (15:06 -0500)]
Update debian/changelog for 24.5+1-7 release

9 years agoSupport glibc 2.24
Rob Browning [Mon, 5 Sep 2016 20:00:48 +0000 (15:00 -0500)]
Support glibc 2.24

Add 0022-Emacs-should-work-with-glibc-2.24-on-ppc64.patch to incorporate
the relevant upstream code. Thanks to Aurelien Jarno for reporting the
problem and backporting the fix.

Closes: 833727
9 years agoEmacs should work with glibc 2.24 on ppc64
Paul Eggert [Fri, 15 Jul 2016 11:07:09 +0000 (13:07 +0200)]
Emacs should work with glibc 2.24 on ppc64

This patch, backported from upstream by Aurelien Jarno
<aurel32@debian.org>, has been added:

  Port to glibc 2.24 (pre-release) + ppc64

  Inspired by a suggestion by Florian Weimer in:
  https://sourceware.org/ml/libc-alpha/2016-07/msg00425.html
  * configure.ac (HAVE_PERSONALITY_ADDR_NO_RANDOMIZE):
  Rename from HAVE_PERSONALITY_LINUX32, and check for
  ADDR_NO_RANDOMIZE (the crucial thing) instead of for LINUX32.
  All uses changed.
  * src/emacs.c (main) [HAVE_PERSONALITY_ADDR_NO_RANDOMIZE]:
  Use ADDR_NO_RANDOMIZE from personality.h rather than inventing the
  flag ourselves.  Just set that flag, rather than also setting the
  persona.  When doing it, avoid functions like putenv that may
  allocate memory.

Origin: backport, commit: e95b023163e96538b15f030b7176b7ec59cf86f5
Bug-Debian: http://bugs.debian.org/833727
Added-by: Rob Browning <rlb@defaultvalue.org>
9 years agoFix malloc handling with newer gcc (>= 5.2)
Rob Browning [Mon, 5 Sep 2016 19:39:00 +0000 (14:39 -0500)]
Fix malloc handling with newer gcc (>= 5.2)

Add 0021-Emacs-should-work-with-gcc-5.2-and-newer.patch to incorporate
the relevant upstream code.  Thanks to Aurelien Jarno for reporting the
problem and backporting the fix.

9 years agoEmacs should work with gcc 5.2 and newer
Wolfgang Jenkner [Sat, 26 Dec 2015 20:12:02 +0000 (12:12 -0800)]
Emacs should work with gcc 5.2 and newer

This patch, backported from upstream by Aurelien Jarno
<aurel32@debian.org>, has been added:

  Always define gmalloc etc. in src/gmalloc.c

  This is a work-around to prevent the compiler from using semantic
  knowledge about malloc for optimization purposes.  E.g., gcc 5.2
  with -O2 replaces most of calloc's definition by a call to calloc;
  see Bug#22085.
  * src/gmalloc.c [!HYBRID_MALLOC] (malloc, realloc, calloc)
  (aligned_alloc, free): Do not undef.  Instead, define these as
  functions (perhaps renamed to gmalloc etc.) in terms of gmalloc etc.

Origin: backport, commit: 4b1436b702d56eedd27a0777fc7232cdfb7ac4f6
Bug-Debian: http://bugs.debian.org/833727
Added-by: Rob Browning <rlb@defaultvalue.org>
9 years ago; * etc/DEBUG: Improve documentation of getting control to GDB.
Eli Zaretskii [Mon, 5 Sep 2016 16:32:21 +0000 (19:32 +0300)]
; * etc/DEBUG: Improve documentation of getting control to GDB.

Suggested by Alain Schneble <a.s@realize.ch>.

9 years agoRestore GTK+ toolbar icons
Rob Browning [Sun, 4 Sep 2016 18:52:14 +0000 (13:52 -0500)]
Restore GTK+ toolbar icons

Add 0020-Emacs-should-show-GTK-icons-again.patch to include the relevant
upstream code.  Thanks to Juerg Haefliger for reporting the problem and
pointing out the relevant upstream commit.

Closes: 828000
9 years agoEmacs should show GTK+ icons again.
Jan Djärv [Sat, 18 Oct 2014 16:19:53 +0000 (18:19 +0200)]
Emacs should show GTK+ icons again.

This upstream patch has been added:

  Handle deprecated Gtk+ stuff for version <= 3.10

  * lisp/term/x-win.el (x-gtk-stock-map): Add icon names suggested as
  replacements to stock names before stock names in a list.
  Cdr may be a list, each name is tried in turn until one is found.

  * src/gtkutil.c (XG_TEXT_CANCEL, XG_TEXT_OPEN, XG_TEXT_OK): New defines
  to handle Gtk versions.
  (xg_get_file_with_chooser): Use them.
  (xg_have_tear_offs, tearoff_remove, tearoff_activate): Remove
  (create_menus): Remove teroff argument and code.
  Remove call to gtk_menu_set_title.
  (xg_update_menubar, xg_update_submenu): Remove tearoff code.  Adjust
  args to create_menus.
  (xg_tool_bar_menu_proxy, xg_tool_bar_detach_callback)
  (xg_tool_bar_attach_callback, TOOLBAR_TOP_WIDGET): Remove.
  (xg_pack_tool_bar): Replace TOOLBAR_TOP_WIDGET, remove detach code.
  (xg_make_tool_item): Remove detach code.
  (xg_update_tool_bar_sizes): Replace TOOLBAR_TOP_WIDGET.
  (find_icon_from_name): New function.
  (update_frame_tool_bar): Remove GtkStockItem code, move to
  find_icon_from_name.  Let stock be a list of icon names to try.
  Only use gtk_image_new_from_stock on Gtk+ < 3.10.
  Replace TOOLBAR_TOP_WIDGET.
  (free_frame_tool_bar, xg_change_toolbar_position ): Replace
  TOOLBAR_TOP_WIDGET.
  (xg_initialize): Remove tearoff code.

  * src/gtkutil.h (xg_have_tear_offs): Remove declaration.

  * src/xmenu.c (set_frame_menubar): Remove GTK block that calls
  xg_have_tear_offs.

  * src/xterm.h (handlebox_widget): Remove.

Origin: upstream, commit: 3f4c6d52d345999938bc2d4a53246af4c61ef176
Bug-Debian: http://bugs.debian.org/828000
Added-by: Rob Browning <rlb@defaultvalue.org>
9 years agodebian/control: make Source-Version source:Version
Rob Browning [Sun, 4 Sep 2016 18:17:04 +0000 (13:17 -0500)]
debian/control: make Source-Version source:Version

Thanks to Guillem Jover for reporting the problem.

Closes: 833215
9 years agoFix regexp-opt documentation (bug #17862)
immerrr [Sun, 7 Feb 2016 09:46:37 +0000 (12:46 +0300)]
Fix regexp-opt documentation (bug #17862)

* lisp/emacs-lisp/regexp-opt.el (regexp-opt):
* doc/lispref/searching.texi (Regexp Functions): Update PAREN doc.

9 years ago; Fix documentation of seq-subseq
Clément Pit--Claudel [Thu, 1 Sep 2016 14:46:14 +0000 (10:46 -0400)]
; Fix documentation of seq-subseq

9 years ago* lisp/emacs-lisp/gv.el (gv-ref): Fix example of PLACE in docstring.
Nicolas Richard [Tue, 23 Aug 2016 09:50:52 +0000 (11:50 +0200)]
* lisp/emacs-lisp/gv.el (gv-ref): Fix example of PLACE in docstring.

9 years ago; Spelling fixes
Paul Eggert [Wed, 31 Aug 2016 03:32:30 +0000 (20:32 -0700)]
; Spelling fixes

9 years agoFix tags-query-replace docstring
Noam Postavsky [Sat, 27 Aug 2016 02:32:43 +0000 (22:32 -0400)]
Fix tags-query-replace docstring

* lisp/progmodes/etags.el (tags-query-replace): Remove incorrect info
regarding non-existent parameters.

9 years agoClarify documentation of precision in format specs
Eli Zaretskii [Fri, 26 Aug 2016 19:13:34 +0000 (22:13 +0300)]
Clarify documentation of precision in format specs

* doc/lispref/strings.texi (Formatting Strings): Be less
definitive wrt what precision means in format specs other than
floating-point, %s and %S.  (Bug#24314)

9 years agoImprove and clarify documentation of subprocesses
Eli Zaretskii [Wed, 24 Aug 2016 14:36:28 +0000 (17:36 +0300)]
Improve and clarify documentation of subprocesses

* doc/lispref/processes.texi (Subprocess Creation, Shell Arguments):
Mention 'make-process' rather than 'start-process'.  Update wrt
standard destinations of standard output/error streams and due to
different formats of arguments accepted by 'make-process'.
(Processes): Mention process objects that represent connections.
(Synchronous Processes): Minor clarifications.
(Asynchronous Processes): Describe 'make-process' and
'make-pipe-process' before 'start-process'.  Update and expand the
documentation.
(Deleting Processes, Process Information, Input to Processes)
(Signals to Processes, Query Before Exit, Network): Update and
expand the documentation, especially wrt process objects that
represent connections.
(Output from Processes): Mention the possibility of separating
stderr via 'make-process'.
(Filter Functions): Mention that stderr by default arrives at the
filter function together with stdout.  (Bug#24287)

* src/process.c (Fprocess_id, Fprocess_command)
(Fprocess_contact, Fprocess_type, Fstop_process): Doc fixes for
process objects that represent connections.

9 years ago* etc/PROBLEMS: Mention gnutls-cli 3.5.3 (Bug#24247).
Paul Eggert [Tue, 23 Aug 2016 19:27:54 +0000 (12:27 -0700)]
* etc/PROBLEMS: Mention gnutls-cli 3.5.3 (Bug#24247).

9 years ago; Update ChangeLog.2 and ldef-boot.el for Emacs 25.1 RC2
Nicolas Petton [Sun, 21 Aug 2016 21:24:55 +0000 (23:24 +0200)]
; Update ChangeLog.2 and ldef-boot.el for Emacs 25.1 RC2

9 years ago* etc/AUTHORS: Update the AUTHORS file
Nicolas Petton [Sun, 21 Aug 2016 21:24:15 +0000 (23:24 +0200)]
* etc/AUTHORS: Update the AUTHORS file

9 years ago; ChangeLog spelling fixes
Paul Eggert [Sun, 21 Aug 2016 11:15:15 +0000 (04:15 -0700)]
; ChangeLog spelling fixes

9 years agoSome assorted documentation clarifications
Philipp Stephani [Fri, 19 Aug 2016 19:23:24 +0000 (21:23 +0200)]
Some assorted documentation clarifications

* src/fileio.c (Fwrite_region): Clarify that END is ignored if
START is nil.
* src/editfns.c (Fbuffer_size): Add short discussion about
narrowing.
* src/callproc.c (Fcall_process_region): Discuss behavior when
START and END are not buffer positions.

9 years agoImprove commentary in src/character.h
Eli Zaretskii [Thu, 18 Aug 2016 14:23:22 +0000 (17:23 +0300)]
Improve commentary in src/character.h

* src/character.h (BYTES_BY_CHAR_HEAD, MULTIBYTE_LENGTH)
(MULTIBYTE_LENGTH_NO_CHECK, STRING_CHAR_AND_LENGTH): Remove stale
info from commentary and improve it.

9 years ago; Fix typo in /etc/NEWS
Michael Albinus [Wed, 17 Aug 2016 07:39:04 +0000 (09:39 +0200)]
; Fix typo in /etc/NEWS

9 years ago* etc/NEWS: Mention the change in json-encode-string.
Dmitry Gutov [Wed, 17 Aug 2016 04:09:01 +0000 (07:09 +0300)]
* etc/NEWS: Mention the change in json-encode-string.

The change was made to fix bug#20154, and came up again in bug#24239.

9 years ago; * etc/NEWS: Mention incompatible change in url-http-create-request.
Eli Zaretskii [Wed, 17 Aug 2016 02:41:00 +0000 (05:41 +0300)]
; * etc/NEWS: Mention incompatible change in url-http-create-request.

9 years agoMerge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25
Eli Zaretskii [Tue, 16 Aug 2016 18:35:17 +0000 (21:35 +0300)]
Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25

9 years ago* src/doc.c (Fsubstitute_command_keys): Another fix for smart quotes.
Eli Zaretskii [Tue, 16 Aug 2016 18:33:09 +0000 (21:33 +0300)]
* src/doc.c (Fsubstitute_command_keys): Another fix for smart quotes.

(Bug#24206)

9 years ago; * doc/lispref/windows.texi (Window Parameters): Grammar tweaks.
Glenn Morris [Tue, 16 Aug 2016 15:40:02 +0000 (08:40 -0700)]
; * doc/lispref/windows.texi (Window Parameters): Grammar tweaks.
* etc/NEWS: Likewise.

9 years agoAvoid segfaults due to quoting in 'substitute-command-keys'
Eli Zaretskii [Tue, 16 Aug 2016 14:36:27 +0000 (17:36 +0300)]
Avoid segfaults due to quoting in 'substitute-command-keys'

* src/doc.c (Fsubstitute_command_keys): Correct character counts
when the input string is unibyte.  (Bug#24206)

9 years agoIn NEWS describe new handling of window margins (Bug#24193)
Martin Rudalics [Tue, 16 Aug 2016 10:40:12 +0000 (12:40 +0200)]
In NEWS describe new handling of window margins (Bug#24193)

* etc/NEWS: Describe new handling of margins when splitting or
resizing windows (Bug#24193).

9 years agoFacultatively ignore margins when splitting and resizing windows (Bug#24193)
Martin Rudalics [Tue, 16 Aug 2016 07:19:18 +0000 (09:19 +0200)]
Facultatively ignore margins when splitting and resizing windows (Bug#24193)

Provide a new window parameter 'min-margins' which allows to
ignore the actual widths of a window's margins when splitting or
resizing that window horizontally.  This should serve as a
workaround for handling the problems raised by Bug#24193.

* lisp/window.el (window--min-size-1): Handle new window
parameter 'min-margins'.
(split-window): Fix text of error messages.
* doc/lispref/windows.texi (Window Parameters): Describe new
parameter 'min-margins'.

9 years agoDocument CATEGORY arg to modify-category-entry
Noam Postavsky [Sun, 14 Aug 2016 02:54:53 +0000 (22:54 -0400)]
Document CATEGORY arg to modify-category-entry

* src/category.c (Fmodify_category_entry): Document CATEGORY argument.

9 years agoDocument char-script-table's effect on word motion
Noam Postavsky [Fri, 12 Aug 2016 22:33:17 +0000 (18:33 -0400)]
Document char-script-table's effect on word motion

* doc/lispref/positions.texi (Word Motion): Talk about
char-script-table (Bug #10494).

9 years agoFurther fix for 'url-http-create-request' and multibyte strings
Eli Zaretskii [Sat, 13 Aug 2016 08:28:53 +0000 (11:28 +0300)]
Further fix for 'url-http-create-request' and multibyte strings

* lisp/url/url-http.el (url-http-create-request): Run
url-mime-charset-string through url-http--encode-string.
(Bug#24117)

9 years agoFix docstring of eval-expression
Noam Postavsky [Fri, 12 Aug 2016 23:29:16 +0000 (19:29 -0400)]
Fix docstring of eval-expression

* lisp/simple.el (eval-expression): Fix the docstring to reflect the
fact that the prefix argument does not affect formatting for
integers (Bug #20691).

9 years agoClarify when 'cursor' property is in effect
Eli Zaretskii [Thu, 11 Aug 2016 20:01:53 +0000 (23:01 +0300)]
Clarify when 'cursor' property is in effect

* doc/lispref/text.texi (Special Properties): Minor copyedits.
(Bug#24179)

9 years agoConvert the remaining strings to unibyte before concatenating
Dmitry Gutov [Thu, 11 Aug 2016 18:06:49 +0000 (21:06 +0300)]
Convert the remaining strings to unibyte before concatenating

* lisp/url/url-http.el (url-http--encode-string): New function.
(url-http-create-request): Use it to convert ASCII to unibyte.
(Bug#24117)

9 years agoFix bug with handling the bidi cache
Eli Zaretskii [Thu, 11 Aug 2016 15:11:26 +0000 (18:11 +0300)]
Fix bug with handling the bidi cache

* src/xdisp.c (redisplay_window): Save and restore the state of
the bidi cache before reusing the iterator after calls to
try_window and try_window_reusing_current_matrix.

9 years ago* doc/lispref/text.texi (Change Hooks): Minor copyedits.
Eli Zaretskii [Wed, 10 Aug 2016 17:12:55 +0000 (20:12 +0300)]
* doc/lispref/text.texi (Change Hooks): Minor copyedits.